package Map;

import java.util.HashMap;
import java.util.Objects;

/**
 * @author 王艺锡
 * @version 1.0
 */
@SuppressWarnings({"all"})
public class HashMap_ {
    public static void main(String[] args) {
        HashMap hashMap = new HashMap();
        for (int i = 1;i<=12;i++){
        hashMap.put(new A(i),"123");
        }


    }
}
class A{
    private int a;

    public A(int a) {
        this.a = a;
    }


    @Override
    public int hashCode() {
        return 100;
    }

    @Override
    public String toString() {
        return "A{" +
                "a=" + a +
                '}';
    }
}